export const toString = Object.prototype.toString
export const isPromise = (v: any) => toString.call(v) == '[object Promise]'
export const isAsync = (v: any) => toString.call(v) == '[object AsyncFunction]'
